Component({
  properties: {
    active: {
      type: String,
      value: 'group'
    }
  },

  methods: {
    switchToGroup() {
      wx.navigateTo({
        url: '/pages/index/index'
      })
    },

    switchToMine() {
      wx.navigateTo({
        url: '/pages/mine/mine'
      })
    }
  }
}) 